//
//  UIFont+NED.m
//  ScriptKill
//
//  Created by lin on 2020/6/22.
//  Copyright © 2020 ScriptKill. All rights reserved.
//

#import "UIFont+NED.h"
#import "NEDConstant.h"
@implementation UIFont (NED)


+ (UIFont *)ned_boldSystemFontOfSize:(CGFloat)fontSize{
//    fontSize = Adapted(fontSize);
    return [UIFont boldSystemFontOfSize:fontSize];
}

+ (UIFont *)ned_systemFontOfSize:(CGFloat)fontSize{
//    fontSize = Adapted(fontSize);
    return [UIFont systemFontOfSize:fontSize];
}
+ (UIFont *)ned_systemMediumSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightMedium];
}
+ (UIFont *)ned_systemSemiboldSize:(CGFloat)fontSize{
    return [UIFont systemFontOfSize:fontSize weight:UIFontWeightSemibold];
}

+ (UIFont *)ned_fontWithName:(NSString *)fontName size:(CGFloat)fontSize{
//    fontSize = Adapted(fontSize);
    return [UIFont fontWithName:fontName size:fontSize];
}
+ (UIFont *)ned_hnOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName:@"Helvetica Neue"  size:Adapted(fontSize)];
}
+ (UIFont *)ned_hnbOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName: @"HelveticaNeue-Bold" size:Adapted(fontSize)];
}

/** PingFangSC-Regular */
+ (UIFont *)ned_pfOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName: @"PingFangSC-Regular"  size:Adapted(fontSize)];
}
/** PingFangSC-Medium */
+ (UIFont *)ned_pfmOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName:@"PingFangSC-Medium" size:Adapted(fontSize)];
}
/** PingFangSC-Bold */
+ (UIFont *)ned_pfbOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName: @"PingFangSC-Bold" size:Adapted(fontSize)];
}
/** PingFangSC-Semibold */
+ (UIFont *)ned_pfsOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName: @"PingFangSC-Semibold" size:Adapted(fontSize)];
}
/** PingFangSC-Light */
+ (UIFont *)ned_pflOfSize:(CGFloat)fontSize{
    return [self ned_fontWithName:@"PingFangSC-Light" size:Adapted(fontSize)];
}

@end
